<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" errorPage="ExceptionDemo.jsp" %>
<html>
<head>
<title>Throw Error</title>
</head>
<body>
<%
int[] array = {1,2,3,4,5};
//下面的代码将导致数组越界
for(int i=0;i<6;i++)
	{
		out.print("array[" + i + "] = " + array[i]); 
		out.newLine();
	}
%>
</body>
</html>
